package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    List<NursingLevel> findAll();

    void add(NursingLevel nursingLevel);

    Page<NursingLevel> selectPage(String name, Integer status);

    NursingLevel findById(Long id);

    void update(NursingLevel nursingLevel);

    void deleteById(Long id);

    void status(Long id, Integer status);
}
